//
//  StoryLibraryView.h
//  iPing
//
//  Created by Thomas on 8/11/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "TCSGdatabaseList.h"
#import "TCSGLibArrayController.h"
#import "ManagingViewController.h"
#import "TCSGBrowserView.h"
#import "StoryController.h"
#import "TCSGTableView.h"
@interface StoryLibraryView : ManagingViewController {
	TCSGdatabaseList		*db;
	IBOutlet TCSGTableView	*tableView;
	IBOutlet NSTextView		*summaryTextField;
	IBOutlet TCSGLibArrayController *myController;
	NSMutableArray			*addedObjects;
	IBOutlet NSSearchField	*searchField;
	int						searchCategory;
	TCSGBrowserView			*browser;
	IBOutlet NSMenu			*contextMenu;
}
- (IBAction)selectionDidChange:(id)sender;
- (IBAction)reloadTable:(id)pId;
- (void)setAddedObjects:(NSArray *)toAddedObjects;
- (IBAction)removeSelected:(id)sender;
- (IBAction)search:(id)sender;
- (IBAction)view:(id)sender;
- (void)setSummaryTextFieldFromHTMLCode;
@end
